-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add more font-width
data
#26069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more font-width
data
#26069
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
This probably shouldn't exist.
This PR is now ready for review again. I've updated the PR with the relevant SVG data. I also sent w3c/svgwg#978. If we get an answer there, I'll update this PR or send a follow up (depending on how quickly this gets merged). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, just three comments.
Additional links:
- WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=277673
- Spec issue: [css-fonts-4] font-stretch is unfortunately named w3c/csswg-drafts#551 (comment)
- Initial spec commit: w3c/csswg-drafts@b0660ee
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Summary
This creates more symmetry between
font-stretch
andfont-width
data.Test results and supporting details
<percentage>
value to thefont-width
tree, to matchfont-stretch
and fully cover the expected values and types forfont-width
.font-width
data into the@font-face
tree, as a descriptor.font-width
SVG global attribute (shipped in Safari, contrary to the implication of the specification)Related issues
font-stretch
as deprecated #26060font-width
feature web-platform-dx/web-features#2707